Howdy,
I am trying to recover my system and need to recreated boot files, boot sector and Boot Configuration Database.
Stage I. Adding boot code
1. I patched system partition with boot code:
bootsect /nt60 C: /force
This works fine and returns:
Target volumes will be update with BOOTMGR compatible bootcode.
C: (\\?\Volume{GUID})
Forced dismount complete, open handles to this volume are now invalid.
Successfully updated NTFS filesystem bootcode.
Bootcode was successfully updated on all targeted volumes.
The {GUID} returned here is the volume GUID for the volume with assigned C: letter. This same GUID can be obtained by using mountvol command.
However the problem is that system device cannot be located so that the following command:
bootsect /nt60 SYS /force
returns an error:
The system partition was not found: The requested system device cannot be found.
STAGE II. Adding boot data
bcdboot d:\windows /s :c /v /m {GUID}
This command runs successfully and returns: "Boot files successfully created".
STAGE III. Recreating BCD.
1. Removing remnants of BCD
del /q c:\boot\bcd.temp
rd /s C:\boot\
2. Creating new location
md boot
2. Creating temporary database
bcdedit /createstore c:\boot\bcd.temp
3. Adding boot manager record to the created database
bcdedit /store c:\bcboot\bcd.temp /create {bootmgr} /d "Windows Boot Manager"
4. Importing created database
bcdedit.exe /import c:\boot\bcd.temp
Here I get the error that reads:
The store import operation has failed.
The requested system device cannot be found.
What could be the problem with missing system device?
Looks as if I were trying to work with a GPT disk under a non-UEFI BIOS. However this all happens in a Hyper-V virtual machine with a GPT disk that has 2 partitions:
MSR (Reserved Partition)
and
Primary System Partition.
The primary partition has Windows 8 RTM installed on it. How do I fix that and make that Windows 8 RTM setup to boot?
When starting this VM, I get the notorious:
Boot failure. Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device.
Looks like the boot code cannot be located, why?
Than